<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字幕</title>
</head>
<style>
    .marquee{
        width: 100%;
            overflow: hidden;
            white-space: nowrap;
            padding: 10px;
            position: relative;
        }

        .marquee span {
            display: inline-block;
            padding-left: 100%;
            animation: marquee 10s linear infinite;
        }
        @keyframes marquee {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(-100%, 0);
            }
        }
</style>
<body>
    <div class="marquee">
        <span>国庆节快乐</span>
    </div>
</body>
</html>